import request from '../request.js'


export default {

    // 修改医保类型
    changeMedicalType(name,preid,type){
        return request({
            url: '/yq-beizhu/updateYBLX',
            method: 'POST',
            params: {
                name,
                preid,
                type
            }
        })
    },

    // 撤销医保修改
    revokeUpdate(preid){
        return request({
            url: '/yq-beizhu/revokeUpdate',
            method: 'POST',
            params: {preid}
        });
    }

}
